package uform.model.value;

/**
 * ...
 * @author Franco Ponticelli
 */

class IntType extends FloatType<Int>
{
	static var _re = ~/^\s*([-+]?[0-9]+)\s*/m;
	
	override function _parseString(s : String) : Int
	{
		return Std.parseInt(s);
	}
	
	override function _pattern() : EReg
	{
		return _re;
	}
}